package com.ctgu.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author yiMa
 * @since 2023-07-05
 */
@Data
@ApiModel(value = "Department对象", description = "")
public class Department  implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("部门名称")
      private String name;

      @ApiModelProperty("父id")
      private Integer parentId;

      @ApiModelProperty("路径")
      private String depPath;

      @ApiModelProperty("是否启用")
      private Boolean enabled;

      @ApiModelProperty("公司id")
      private Integer companyId;


}
